package org.rain.core.scope;

import jakarta.servlet.ServletException;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

import java.io.IOException;

/**
 * created by yangtong on 2025/4/11 12:57:56
 * <br/>
 * Scope方法调用
 */
@FunctionalInterface
public interface ScopeInvocation {

    /**
     * 调用下一个
     */
    void doNext(InvocationChain chain, HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException;

}
